using System;

namespace Book.Blog.Core.Entities
{
    public class PostHistory : BaseEntity
    {
        public required string Title { get; set; }
        public required string Content { get; set; }
        public required string Summary { get; set; }
        public int Version { get; set; }
        
        // 外键
        public Guid PostId { get; set; }

        // 导航属性
        public virtual required Post Post { get; set; }
    }
} 